package com.smile.service.entity.requests;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString
public class FlighttaskResourceGet implements Serializable {

    private static final long serialVersionUID = 1L;

    @JSONField(name = "result")
    private Integer result;

    @JSONField(name = "output")
    public Output output;

    @Data
    @ToString
    public static class Output {

        @JSONField(name = "file")
        private File file;

        @Data
        @ToString
        public static class File{

            @JSONField(name = "fingerprint")
            private String fingerprint;

            @JSONField(name = "url")
            private String url;
        }


    }
}
